package com.paypal.android.a;

import java.net.Socket;
import javax.net.ssl.SSLContext;
import javax.net.ssl.TrustManager;
import org.apache.http.conn.ssl.AllowAllHostnameVerifier;

public final class e extends org.apache.http.conn.ssl.SSLSocketFactory
{
  private javax.net.ssl.SSLSocketFactory a;

  public e()
  {
    super(null);
    try
    {
      SSLContext localSSLContext = SSLContext.getInstance("TLS");
      TrustManager[] arrayOfTrustManager = new TrustManager[1];
      arrayOfTrustManager[0] = new s();
      localSSLContext.init(null, arrayOfTrustManager, null);
      this.a = localSSLContext.getSocketFactory();
      setHostnameVerifier(new AllowAllHostnameVerifier());
      return;
    }
    catch (Exception localException)
    {
    }
  }

  public final Socket createSocket()
  {
    return this.a.createSocket();
  }

  public final Socket createSocket(Socket paramSocket, String paramString, int paramInt, boolean paramBoolean)
  {
    return this.a.createSocket(paramSocket, paramString, paramInt, paramBoolean);
  }
}

/* Location:           D:\Studium\Bachelorarbeit\BA Marcus Wobig\BA\BA\Decompiler\PicturePassword APK\Programm\PicturePassword_dex2jar.jar
 * Qualified Name:     com.paypal.android.a.e
 * JD-Core Version:    0.6.2
 */